package com.tyk.bookstore.front.product.model.dto;

import com.tyk.bookstore.front.product.model.enume.BookState;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author tyk
 * @description 书籍
 */
@Data
public class Book4CartDto {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "书籍封面")
    private String cover;

    @Schema(description = "书籍标题")
    private String title;

    @Schema(description = "书籍价格")
    private BigDecimal price;

    @Schema(description = "书籍状态")
    private BookState state;

}
